<!DOCTYPE HTML>
<html>
  <head>
    <title>PhoneGap Demo with Sencha Touch</title>
    <script type="text/javascript" src="../sencha/sencha-touch.js"></script>
	<link rel="stylesheet" href="../sencha/resources/css/sencha-touch.css" type="text/css">        
    <script type="text/javascript" src="phonegap-1.0.0.js"></script>
   	<link href="app.css" rel="stylesheet" type="text/css" />
   	<script type="text/javascript" src="https://www.google.com/jsapi"></script>
   	<script type="text/javascript">
		var currentNot = ({id: 3, date: 2, title: 'title', narrative: 'test'});
		var myNote=new Array();
		myNote[0]=currentNot;
		            	var myNotes=new Array();
		
        google.load("feeds", "1");
        google.setOnLoadCallback(showFeed);
        function showFeed() {
          var feed = new google.feeds.Feed("http://blogs.sitepoint.com/feed/");
          feed.setNumEntries(10);
          
          feed.load(function(result) {
            if (!result.error) {
             	for (var i = 0; i < result.feed.entries.length; i++) {
                var entry = result.feed.entries[i];
                var thisId = i;
                var thisDate = 5;
                var thisTitle = 'test';
                var thisNarrative = 'test';
                var currentNote = ({id: thisId, date: thisDate, title: entry.title, narrative: entry.contentSnippet});
				myNotes[i]=currentNote;
              }
            }
          });
        }
   
   	</script>
	<script src="app.js" type="text/javascript">
	</script>
	
  </head>
  <body>
  </body>
</html>
